package com.ceair.flight.refund.location.dao;

import com.ceair.flight.refund.dto.appmoblie.RefundTktDto;
import com.ceair.flight.refund.location.model.RefundTktDO;

/**
 * 退票乘客及票信息数据操作类
 *
 * @Author Zhubeibei
 * @Date: Created in 2018/12/24 10:23
 */
public interface IRefundTktDao {

    /**
     * 根据申请ID查询旅客退票信息
     *
     * @return
     */
    RefundTktDO selectByApplyId(Long applyId);

    int updateById(RefundTktDO refundTktDO);

    /**
     * 保存实体
     * @param refundTktDO
     * @return
     */
    int saveRefundTktDO(RefundTktDO refundTktDO);

    int updateTktDtoById(RefundTktDto refundTktDto);

    int saveRefundTktDto(RefundTktDto refundTkt);
}